package com.example.lxx.stickyexpandview.model;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.example.lxx.stickyexpandview.CustomersAdapter;

import java.util.List;

/**
 * Created by lxx on 2017/10/30 0030.
 */

public class EsalerAllCustomerModel extends AbstractExpandableItem<MultiItemEntity> implements MultiItemEntity {
    private String name;
    private List list;
    private boolean isMutitype;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public boolean getIsMutitype() {
        return isMutitype;
    }

    public void setMutitype(boolean mutitype) {
        isMutitype = mutitype;
    }

    @Override
    public int getLevel() {
        return CustomersAdapter.TYPE_LEVEL_0;
    }

    @Override
    public int getItemType() {
        return CustomersAdapter.TYPE_LEVEL_0;
    }
}
